package com.itcast.yygh.cmn.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

@Data
public class Stu {

    //导出需要提供列的索引值
    //提供easyExcel写入的表头
    @ExcelProperty(value = "学生编号",index = 0)
    private int sno;
    @ExcelProperty(value = "学生姓名",index = 1)
    private String sname;
}
